package com.atguigu.eduservice.service.impl;

import com.atguigu.eduservice.entity.Tstudent;
import com.atguigu.eduservice.mapper.TstudentMapper;
import com.atguigu.eduservice.service.MainStudentService;
import com.atguigu.eduservice.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 课程简介 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2020-03-02
 */
@Service

public class MainStudentServiceImpl extends ServiceImpl<TstudentMapper, Tstudent> implements MainStudentService {
    @Autowired
      private TstudentMapper tstudentMapper;

    public
    List<Tstudent> get_studentall() {
        return tstudentMapper.get_studentall();
    }
}
